package com.dhcc.DRGsHosp.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhcc.DRGsHosp.facade.MedInsCompleteFacade;

@Controller
@RequestMapping("/medinsComplete")
public class MedInsCompleteController {
	
	@Autowired
	private MedInsCompleteFacade medInsCompleteFacade;
	
	/**
	 * 
	 *  medInsQuestionsQuery.  
	 *  @Description：查询医保主键问题病例
	 *  @Author ZouYiyu
	 *  @return 
	 *  @Date:2017年10月18日下午12:17:48
	 */
	@ResponseBody
	@RequestMapping("/medInsQuestionsQuery")
	private Object medInsQuestionsQuery(String dateFrom,String dateTo){
		return medInsCompleteFacade.medInsQuestionsQuery(dateFrom,dateTo);
	}
	/**
	 * 
	 *  updateMedinsQuery.  
	 *  @Description：更新主键和异常标志字段
	 *  @Author ZouYiyu
	 *  @param id
	 *  @param mrNo
	 *  @param outDate
	 *  @param inDate
	 *  @return 
	 *  @Date:2017年10月18日下午12:20:27
	 */
	@ResponseBody
	@RequestMapping("/updateMedinsQuery")
	private String updateMedinsQuery(String id,String mrNo,String outDate,String inDate){
		return medInsCompleteFacade.updateMedinsQuery(id,mrNo,outDate,inDate);
	}
}
